package com.boilermaker.demo.model;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class PageRequest {
    private int currentPage = 1;
    private int pageSize = 10;
    private int offset;

    public int getOffset() {
        return (currentPage - 1) * pageSize;
    }
}
